import request from '@/utils/request'

// 查询场景流程参数版本表列表
export function listSceneProcessParametersVersion(query) {
  return request({
    url: '/business/sceneProcessParametersVersion/list',
    method: 'get',
    params: query
  })
}

// 查询场景流程参数版本表详细
export function getSceneProcessParametersVersion(id) {
  return request({
    url: '/business/sceneProcessParametersVersion/' + id,
    method: 'get'
  })
}

// 新增场景流程参数版本表
export function addSceneProcessParametersVersion(data) {
  return request({
    url: '/business/sceneProcessParametersVersion',
    method: 'post',
    data: data
  })
}

// 修改场景流程参数版本表
export function updateSceneProcessParametersVersion(data) {
  return request({
    url: '/business/sceneProcessParametersVersion',
    method: 'put',
    data: data
  })
}

// 删除场景流程参数版本表
export function delSceneProcessParametersVersion(id) {
  return request({
    url: '/business/sceneProcessParametersVersion/' + id,
    method: 'delete'
  })
}
